package cn.virens.common.mybatis.datasource.annotations.handler;

import cn.virens.common.spring.annotations.VirAbstractAnnotationSource;
import org.springframework.core.annotation.AnnotationAttributes;
import org.springframework.transaction.annotation.Transactional;

import java.lang.reflect.Method;

public class DynamicDataSourceAnnotationSource extends VirAbstractAnnotationSource {

    @Override
    protected AnnotationAttributes findAttributes0(Method method, Class<?> targetClass) throws RuntimeException {
        return findAttributes1(method, targetClass, Transactional.class);
    }
}
